<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<style>
body {
	margin: 10;
	font-size: 62.5%;
	line-height: 1.5;
}

.blue-button {
	background: #25A6E1;
	padding: 3px 20px;
	color: #fff;
	font-size: 12px;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 4px;
	border: 1px solid #1A87B9
}

table {
	width: 70%;
}

th {
	background: SteelBlue;
	color: white;
}

td, th {
	border: 1px solid gray;
	font-size: 12px;
	text-align: left;
	padding: 5px 10px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	max-width: 200px;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-overflow: ellipsis;
}
</style>
<title>用户登录</title>
</head>
<body>
	<center>
		<form:form method="post" modelAttribute="item" action="${pageContext.request.contextPath}/login">
			<table>
				<tr>
					<th colspan="2">用户登录</th>
				</tr>
				<tr>
					<td>userName:</td>
					<td><input name="userName" maxlength="30"></input></td>
				</tr>
				<tr>
					<td>passWord:</td>
					<td><input name="passWord"  maxlength="30"></input></td>
				</tr>
				<tr>
					<td colspan="2" style="text-align: center;"><input
						type="submit" class="blue-button" /></td>
				</tr>
			</table>
		</form:form>
	</center>
</body>
</html>
